package com.lfy.kcat.content.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lfy.kcat.content.domain.Categories;
import com.lfy.kcat.content.domain.DramaCategories;
import com.lfy.kcat.content.service.DramaCategoriesService;
import com.lfy.kcat.content.mapper.DramaCategoriesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 53409
 * @description 针对表【drama_categories(短剧分类关联表)】的数据库操作Service实现
 * @createDate 2025-09-05 16:23:27
 */
@Service
public class DramaCategoriesServiceImpl extends ServiceImpl<DramaCategoriesMapper, DramaCategories>
    implements DramaCategoriesService{


    @Autowired
    DramaCategoriesMapper  dramaCategoriesMapper;

    @Override
    public List<Categories> getDramasCategoryInfo(Long dramaId) {

        return dramaCategoriesMapper.getDramasCategoryInfo(dramaId);
    }
}




